Skip to content

test(installer): migrate end-to-end tests to PlayWright#61883

Open
susnux wants to merge 1 commit into
masterfrom
test/setup-pw
Open

test(installer): migrate end-to-end tests to PlayWright#61883
susnux wants to merge 1 commit into
masterfrom
test/setup-pw

Conversation

@susnux

@susnux susnux commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrated the installer tests from Cypress to PlayWright.
AI was used - reviewed their changes and adjusted manually.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 35 milestone Jul 7, 2026
@susnux susnux added 3. to review Waiting for reviews tests Related to tests ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Jul 7, 2026
@susnux susnux marked this pull request as ready for review July 9, 2026 11:37
@susnux susnux requested review from a team as code owners July 9, 2026 11:37
@susnux susnux requested review from Altahrim, icewind1991, nfebe, skjnldsv and sorbaugh and removed request for a team July 9, 2026 11:37
Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

await waitOnNextcloud(ip)
await configureNextcloud()
await configureNextcloud(process.env.PLAYWRIGHT_SETUP ? [] : ['viewer'])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is PLAYWRIGHT_SETUP meant to be set somewhere? Nothing seems to set it. Maybe the setup script? Or we maybe document that it exists in the testing readme?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes should be set in the ci script so that we do not clone that.
Should reduce setup by a couple of seconds on CI - we do not need the viewer for setup tests.

@pringelmann pringelmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Just one question on env var

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants